package sanshui.system.trade.db.entity;

import java.io.Serializable;

public class StockATradeCal implements Serializable {
    private String exchange;

    private String calDate;

    private String isOpen;

    private String pretradeDate;

    private static final long serialVersionUID = 1L;

    public String getExchange() {
        return exchange;
    }

    public void setExchange(String exchange) {
        this.exchange = exchange == null ? null : exchange.trim();
    }

    public String getCalDate() {
        return calDate;
    }

    public void setCalDate(String calDate) {
        this.calDate = calDate == null ? null : calDate.trim();
    }

    public String getIsOpen() {
        return isOpen;
    }

    public void setIsOpen(String isOpen) {
        this.isOpen = isOpen == null ? null : isOpen.trim();
    }

    public String getPretradeDate() {
        return pretradeDate;
    }

    public void setPretradeDate(String pretradeDate) {
        this.pretradeDate = pretradeDate == null ? null : pretradeDate.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", exchange=").append(exchange);
        sb.append(", calDate=").append(calDate);
        sb.append(", isOpen=").append(isOpen);
        sb.append(", pretradeDate=").append(pretradeDate);
        sb.append("]");
        return sb.toString();
    }
}